<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<style>
    .msg {
        color: #10cb10;
    }
    .msg1 {
        color: red;
    }

    .form p span {
        color: red;
    }
</style>
<body>

<h1>用户注册</h1>

<p class="msg">{{msg}}
<p class="msg1">{{msg1}}
<p/>


<form class="form" action="{{url_for('user.register')}}" method="post">
    <p><input type="text" name="username" placeholder="用户名"/>&nbsp;&nbsp;<span>{{uname}}</span></p>
    <p><input type="password" name="password" placeholder="密码"/>&nbsp;&nbsp;<span>{{pwd}}</span></p>
    <p><input type="password" name="repassword" placeholder="确认密码"/>&nbsp;&nbsp;<span>{{repwd}}</span></p>
    <p><input type="text" name="phone" placeholder="电话"/>&nbsp;&nbsp;<span>{{tel}}</span></p>
    <p><input type="submit" value="注册"/>&nbsp;&nbsp;&nbsp;<a href="{{url_for('user.user_center')}}">用户中心</a></p>
</form>
</body>
</html>